﻿using yiCommerce.Core.Domain.Customers;
using yiCommerce.Core.Domain.Securitys;

namespace yiCommerce.Service.Securitys
{
    public interface IPermissionService
    {
        //bool Authorize(PermissionRecord permission);

        bool Authorize(PermissionRecord permission, int customerId);
    }
}